body{
    display: flex;
    flex-direction: column;
}
.app-home{
    flex: 1;
    overflow-y: scroll;
    margin-bottom:100px;
    .banner{
        height: 150px;
        /* 广告 */
        .swiper-wrapper {
            position: relative;
            width: 100%;
            height: 100%;
            z-index: 1;
            display: flex;
            transition-property: transform;
            box-sizing: content-box;
            img{
                width: 100%;
                height: 150px;
                object-fit: cover;
            }
        }

    }
    .main{
        // flex: 1;
        // overflow-y: scroll;
        .main-one{
            justify-content: space-between;
            height: 120px;
            margin:20px 15px;
            margin-top: 14px;
            position: relative;
            .rank{
                flex: 2;
                border-radius: 15px;
                margin-right:22px;
                background-color: rgb(19, 144, 185);
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
                img{
                    width: 72%;
                    height: 88%;
                    opacity: 0.3;
                    margin-top:8px;
                }
                .one-day{
                    font-size: 18px;
                    font-weight: bold;
                    color: #004E73;
                    margin: -107px 0 0 10px;
                }
                .one-num{
                    position: absolute;
                    left: 10px;
                    top: 36px;
                    line-height: 86px;
                    font-size: 30px;
                    color: white;
                    font-weight: bold;
                }

            }
            .sum{
                flex: 3;
                border-radius: 15px;
                background-color: skyblue;
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
                img{
                    width:110px;
                    height: 105px;
                    opacity: 0.67;
                    margin: 9px 0 0 10px;
                }
                .one-sum{
                    font-size: 18px;
                    font-weight: bold;
                    color: #004E73;
                    margin:-109px 0 0 9px ;
                }
                .one-today{
                    width: 100px;
                    height: 40px;
                    border: 3px solid #004E73;
                    line-height: 40px;
                    color: #004E73;
                    border-radius: 20px;
                    text-align: center;
                    font-weight: bold;
                    margin: 34px 0 0 70px;
                }
            }
        }
        .main-two{
            justify-content: space-between;
            height: 110px;
            margin:0 15px;
            .s-data{
                margin-right:11px;
                flex: 1;
                background: url('../imgs/index-card-data.png') no-repeat;
                background-size: cover;
                border-radius: 15px;
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
                .two-day{
                    margin: 12px 0 0 14px;
                    color: white;
                }
            }
            .s-sum{
                margin-left:11px;
                flex: 1;
                border-radius: 15px;
                background: url('../imgs/index-card-badge.png') no-repeat center rgb(160, 160, 233);
                background-size: 95px;
                background-position: 5px 12px ;
                box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
                .two-sum{
                    font-size: 16px;
                    color: #004E73;
                    margin: 12px 0 0 14px;
                    font-weight: bold;
                }
                .two-num{
                    font-size: 66px;
                    color: #004E73;
                    margin-left: 98px;
                    font-weight: bold;
                    margin-top:-20px;
                    span{
                        font-size: 16px;
                        color: #004E73;
                        margin-left:-20px;
                        font-weight: bold;  
                    }
                }
            }
        }
        .main-train{
            background: url('../imgs/index-swiper-bg2.jpg') no-repeat;
            background-size: cover;
            box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
            // background-position-y:-25px;
            border-radius: 15px;
            // flex: 1;
            height: 125px;
            margin:20px 15px;
            .train-three{
                margin-top: 10px;
                color: white;
                padding-left: 15px;
            }
        }
        .main-out{
            background: url('../imgs/index-card-run.png') no-repeat;
            background-size: cover;
            box-shadow: 0px 0px 8px 0px rgba(0, 0, 0, 0.4);
            // background-position-y:-25px;
            border-radius: 15px;
            // flex: 1;
            height: 125px;
            margin:0px 15px;
            .out-train{
                margin-top: 10px;
                color: white;
                padding-left: 15px;
            }
        }
    }
}